home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / emula / arosdv19.lha / AROS / config / dummy / cachepostdma. < prev    next >
Text File  |  1996-09-12  |  1KB  |  50 lines

  1. |******************************************************************************
  2. |
  3. |   NAME
  4. |
  5. |    __AROS_LH3(void, CachePostDMA,
  6. |
  7. |   SYNOPSIS
  8. |    __AROS_LA(APTR,    address, A0),
  9. |    __AROS_LA(ULONG *, length,  A1),
  10. |    __AROS_LA(ULONG,   flags,  D0),
  11. |
  12. |   LOCATION
  13. |    struct ExecBase *, SysBase, 128, Exec)
  14. |
  15. |   FUNCTION
  16. |    Do everything necessary to make CPU caches aware that a DMA has
  17. |    happened.
  18. |
  19. |   INPUTS
  20. |    address - Virtual address of memory affected by the DMA
  21. |    *length - Number of bytes affected
  22. |    flags    - DMA_NoModify      - Indicate that the memory didn't change.
  23. |          DMA_ReadFromRAM - Indicate that the DMA goes from RAM
  24. |                    to the device. Set this bit in bot calls.
  25. |
  26. |   RESULT
  27. |
  28. |   NOTES
  29. |    DMA must follow a call to CachePreDMA() and must be followed
  30. |    by a call to CachePostDMA().
  31. |
  32. |   EXAMPLE
  33. |
  34. |   BUGS
  35. |
  36. |   SEE ALSO
  37. |    CachePreDMA()
  38. |
  39. |   INTERNALS
  40. |
  41. |   HISTORY
  42. |
  43. |******************************************************************************
  44.  
  45.     | Simple 68000s have no chaches
  46.     .globl    _Exec_CachePostDMA
  47. _Exec_CachePostDMA:
  48.     rts
  49.  
  50.